File: /var/www/html/wpbiancoarte/wp-content/plugins/hiroshi-core/assets/js/hiroshi-core.min.js
!function(a){"use strict";"object"!=typeof qodef&&(window.qodef={}),window.qodefCore={},qodefCore.shortcodes={},qodefCore.listShortcodesScripts={qodefSwiper:qodef.qodefSwiper,qodefPagination:qodef.qodefPagination,qodefFilter:qodef.qodefFilter,qodefMasonryLayout:qodef.qodefMasonryLayout,qodefJustifiedGallery:qodef.qodefJustifiedGallery,qodefDragCursor:qodefCore.qodefDragCursor},qodefCore.body=a("body"),qodefCore.html=a("html"),qodefCore.windowWidth=a(window).width(),qodefCore.windowHeight=a(window).height(),qodefCore.scroll=0,a(document).ready(function(){qodefCore.scroll=a(window).scrollTop(),e.init(),s.init(),n.init()}),a(window).resize(function(){qodefCore.windowWidth=a(window).width(),qodefCore.windowHeight=a(window).height()}),a(window).scroll(function(){qodefCore.scroll=a(window).scrollTop()}),a(window).load(function(){t.init(),r.init()});qodefCore.qodefIsInViewport={check:function(o,t,i){var e,n;o.length&&(e=void 0!==o.data("viewport-offset")?o.data("viewport-offset"):.15,(n=new IntersectionObserver(function(e){!0===e[0].isIntersecting&&(t.call(o),!1!==i&&n.disconnect())},{threshold:[e]})).observe(o[0]))}};var i={disable:function(){window.addEventListener&&window.addEventListener("wheel",i.preventDefaultValue,{passive:!1}),document.onkeydown=i.keyDown},enable:function(){window.removeEventListener&&window.removeEventListener("wheel",i.preventDefaultValue,{passive:!1}),window.onmousewheel=document.onmousewheel=document.onkeydown=null},preventDefaultValue:function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1},keyDown:function(e){for(var o=[37,38,39,40],t=o.length;t--;)if(e.keyCode===o[t])return void i.preventDefaultValue(e)}},o=(qodefCore.qodefScroll=i,{init:function(e){e.length&&o.qodefInitScroll(e)},qodefInitScroll:function(e){var o=new PerfectScrollbar(e[0],{wheelSpeed:.6,suppressScrollX:!0});a(window).resize(function(){o.update()})}}),e=(qodefCore.qodefPerfectScrollbar=o,{init:function(){var e;this.holder=a("#hiroshi-core-page-inline-style"),this.holder.length&&(e=this.holder.data("style")).length&&a("head").append('<style type="text/css">'+e+"</style>")}}),t={init:function(){var e=a(".qodef-parallax-item");e.length&&e.each(function(){var e=a(this),o=Math.floor(-75*Math.random()-25);(e.hasClass("qodef-grid-item")?e.children(".qodef-e-inner"):e).attr("data-parallax",'{"y": '+o+', "smoothness": 30}')}),t.initParallax()},initParallax:function(){a("[data-parallax]").length&&!qodefCore.html.hasClass("touchevents")&&"object"==typeof ParallaxScroll&&ParallaxScroll.init()}},s=(qodefCore.qodefParallaxItem=t,{init:function(){var e,o,t,i,n,r,d=a("[data-dynamic-background-color]");qodef.body.hasClass("qodef-dynamic-background-color")&&d.length&&(a("#qodef-page-inner").append('<div id="qodef-dynamic-background"></div>'),e=a("#qodef-dynamic-background"),o=qodef.scroll,t=!0,i=a("#qodef-page-outer"),n=a("#qodef-page-footer"),d.each(function(){s.elementInView(a(this))}),e.css("background-color",d.first().attr("data-dynamic-background-color")),a(window).on("scroll",function(){r=qodef.scroll,t=o<r,o=r,r=d.filter(".qodef-in-view"),n.hasClass("qodef--uncover")&&(qodef.scroll+n.height()<i.height()+i.position().top+i.offset().top-n.height()?e.removeClass("qodef--display"):e.addClass("qodef--display")),r.length&&(r=t?r.last():r.first(),e.css("background-color")!==r.attr("data-dynamic-background-color")&&e.css("background-color",r.attr("data-dynamic-background-color")))}))},elementInView:function(e){function o(){qodef.scroll>e.offset().top-qodef.windowHeight&&qodef.scroll<e.offset().top+e.height()?e.hasClass("qodef-in-view")||e.addClass("qodef-in-view"):e.hasClass("qodef-in-view")&&e.removeClass("qodef-in-view")}a(window).on("scroll",function(){o()}),o()}}),n=(qodefCore.qodefDynamicBackground=s,{init:function(){var e=a(".qodef-elementor-column-scrollable > .elementor-container > .elementor-column");e.length&&a("body").hasClass("qodef-browser--firefox")&&"object"==typeof qodefCore.qodefPerfectScrollbar&&e.each(function(){qodefCore.qodefPerfectScrollbar.init(a(this))})}}),r=(qodefCore.qodefScrollableColumns=n,{init:function(){this.holder=a(".qodef--has-appear:not(.qodef--appeared), .qodef--custom-section-appear:not(.qodef--appeared)"),this.holder.length&&this.holder.each(function(){var e=a(this),o=gsap.utils.random(10,300,130),t=(t=a(this).attr("data-appear-delay"))||o;qodefCore.qodefIsInViewport.check(e,()=>{qodef.qodefWaitForImages.check(e,function(){setTimeout(function(){e.addClass("qodef--appeared")},t)})})})}});qodefCore.qodefAppear=r}(jQuery),function(r){"use strict";r(document).ready(function(){d.init()});var d={init:function(){this.holder=r("#qodef-back-to-top"),this.holder.length&&(this.holder.on("click",function(e){e.preventDefault(),d.animateScrollToTop()}),d.showHideBackToTop())},animateScrollToTop:function(){function o(){var e;0!==n&&(n<1e-4&&(n=0),e=d.easingFunction((i-n)/i),r("html, body").scrollTop(i-(i-n)*e),n*=.9,t=requestAnimationFrame(o))}var t,i=qodef.scroll,n=qodef.scroll;o(),r(window).one("wheel touchstart",function(){cancelAnimationFrame(t)})},easingFunction:function(e){return 0==e?0:Math.pow(1024,e-1)},showHideBackToTop:function(){r(window).scroll(function(){var e=r(this),o=e.scrollTop(),e=e.height(),o=0<o?o+e/2:1;o<1e3?d.addClass("off"):d.addClass("on")})},addClass:function(e){this.holder.removeClass("qodef--off qodef--on"),"on"===e?this.holder.addClass("qodef--on"):this.holder.addClass("qodef--off")}}}(jQuery),function(o){"use strict";o(window).on("load",function(){i.init()}),o(window).resize(function(){i.init()});var i={init:function(){var e=o(".qodef-background-text");e.length&&e.each(function(){i.responsiveOutputHandler(o(this))})},responsiveOutputHandler:function(t){o.each({3840:1441,1440:1367,1366:1025,1024:1},function(e,o){qodef.windowWidth<=e&&qodef.windowWidth>=o&&i.generateResponsiveOutput(t,e)})},generateResponsiveOutput:function(e,o){e=e.find(".qodef-m-background-text");e.length&&e.css({"font-size":e.data("size-"+o)+"px",top:e.data("vertical-offset-"+o)+"px"})}};window.qodefBackgroundText=i}(jQuery),function(n){"use strict";n(document).ready(function(){o.init()});var o={init:function(){const e=n(".qodef-swiper--show-drag-cursor");e.length&&e.each(function(){var e=n(this).find(".swiper-wrapper");o.handleMouseMove(n(this),e)})},handleMouseMove:function(e,o){var t=qodefGlobal.vars.dragCursor;e.append('<div class="qodef-m-custom-cursor qodef-m"><div class="qodef-m-custom-cursor-inner">'+t+"</div></div>");const i=n(".qodef-m-custom-cursor");e.each(function(){o.on("mousemove",function(e){i.css({top:e.clientY-60,left:e.clientX-60})}),o.on("mouseover mouseenter",function(){e.hasClass("qodef-swiper-drag-cursor--active")||e.addClass("qodef-swiper-drag-cursor--active")}).on("mouseleave",function(){e.hasClass("qodef-swiper-drag-cursor--active")&&e.removeClass("qodef-swiper-drag-cursor--active")})})}};qodefCore.qodefDragCursor=o}(jQuery),function(t){"use strict";t(window).on("load",function(){e.init()});var e={holder:"",init:function(){this.holder=t("#qodef-page-footer.qodef--uncover"),this.holder.length&&!qodefCore.html.hasClass("touchevents")&&(e.addClass(),e.setHeight(this.holder),t(window).resize(function(){e.setHeight(e.holder)}))},setHeight:function(e){e.css("height","auto");var o=e.outerHeight();0<o&&(t("#qodef-page-outer").css({"margin-bottom":o,"background-color":qodefCore.body.css("backgroundColor")}),e.css("height",o))},addClass:function(){qodefCore.body.addClass("qodef-page-footer--uncover")}}}(jQuery),function(i){"use strict";i(document).ready(function(){n.init()}),i(window).on("resize",function(){n.handleHeaderWidth("resize")});var n={init:function(){var t=i("a.qodef-fullscreen-menu-opener"),e=i("#qodef-fullscreen-area nav ul li a");t.length&&(n.handleHeaderWidth("init"),t.on("click",function(e){e.preventDefault();var o=i(this);qodefCore.body.hasClass("qodef-fullscreen-menu--opened")?n.closeFullscreen(o):(n.openFullscreen(o),i(document).keyup(function(e){27===e.keyCode&&n.closeFullscreen(o)}))}),e.on("tap click",function(e){var o=i(this);o.parent().hasClass("menu-item-has-children")?(e.preventDefault(),n.clickItemWithChild(o)):"http://#"!==o.attr("href")&&"#"!==o.attr("href")&&n.closeFullscreen(t)}))},openFullscreen:function(e){e.addClass("qodef--opened"),qodefCore.body.removeClass("qodef-fullscreen-menu-animate--out").addClass("qodef-fullscreen-menu--opened qodef-fullscreen-menu-animate--in"),qodefCore.qodefScroll.disable()},closeFullscreen:function(e){e.removeClass("qodef--opened"),qodefCore.body.removeClass("qodef-fullscreen-menu--opened qodef-fullscreen-menu-animate--in").addClass("qodef-fullscreen-menu-animate--out"),qodefCore.qodefScroll.enable(),i("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200)},clickItemWithChild:function(e){var e=e.parent(),o=e.find(".sub-menu").first();o.is(":visible")?(o.slideUp(300),e.removeClass("qodef--opened")):(o.slideDown(300),e.addClass("qodef--opened").siblings().find(".sub-menu").slideUp(400))},handleHeaderWidth:function(e){var o=i("#qodef-page-header"),t=i("a.qodef-fullscreen-menu-opener");o.length&&t.length&&(1024<qodefCore.windowWidth?qodefCore.body.height()>qodefCore.windowHeight&&("resize"===e&&o.css({width:""}),o.width(o.width())):o.css({width:""}))}}}(jQuery),function(){"use strict";jQuery(document).ready(function(){e.init()});var e={appearanceType:function(){return-1!==qodefCore.body.attr("class").indexOf("qodef-header-appearance--")?qodefCore.body.attr("class").match(/qodef-header-appearance--([\w]+)/)[1]:""},init:function(){var e=this.appearanceType();""!==e&&"none"!==e&&qodefCore[e+"HeaderAppearance"]()}}}(),function(i){"use strict";i(document).ready(function(){n.init()});var n={init:function(){var e,o,t;qodefCore.body.hasClass("qodef-mobile-header-appearance--sticky")&&(e=qodefCore.scroll,o=qodefGlobal.vars.mobileHeaderHeight+qodefGlobal.vars.adminBarHeight,t=i("#qodef-page-outer"),n.showHideMobileHeader(e,o,t),i(window).scroll(function(){n.showHideMobileHeader(e,o,t),e=qodefCore.scroll}),i(window).resize(function(){t.css("padding-top",0),n.showHideMobileHeader(e,o,t)}))},showHideMobileHeader:function(e,o,t){qodefCore.windowWidth<=1024&&(qodefCore.scroll>2*o?(qodefCore.body.addClass("qodef-mobile-header--sticky"),setTimeout(function(){qodefCore.body.addClass("qodef-mobile-header--sticky-animation")},300),t.css("padding-top",qodefGlobal.vars.mobileHeaderHeight)):(qodefCore.body.removeClass("qodef-mobile-header--sticky"),setTimeout(function(){qodefCore.body.removeClass("qodef-mobile-header--sticky-animation")},300),t.css("padding-top",0)),qodefCore.scroll>e&&qodefCore.scroll>o||qodefCore.scroll<3*o?qodefCore.body.removeClass("qodef-mobile-header--sticky-display"):qodefCore.body.addClass("qodef-mobile-header--sticky-display"))}}}(jQuery),function(a){"use strict";a(document).ready(function(){e.init()});var e={init:function(){e.dropdownBehavior(),e.wideDropdownPosition(),e.dropdownPosition()},dropdownBehavior:function(){a(".qodef-header-navigation > ul > li").each(function(){var t=a(this);t.find(".qodef-drop-down-second").length&&qodef.qodefWaitForImages.check(t,function(){var e=t.find(".qodef-drop-down-second"),o=e.find(".qodef-drop-down-second-inner ul").outerHeight();navigator.userAgent.match(/(iPod|iPhone|iPad)/)?t.on("touchstart mouseenter",function(){e.css({height:o,overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){e.css({height:"0px",overflow:"hidden",visibility:"hidden",opacity:"0"})}):qodefCore.body.hasClass("qodef-drop-down-second--animate-height")?t.hoverIntent({interval:0,over:function(){setTimeout(function(){e.addClass("qodef-drop-down--start").css({visibility:"visible",height:"0",opacity:"1"}),e.stop().animate({height:o},400,"linear",function(){e.css("overflow","visible")})},100)},timeout:100,out:function(){e.stop().animate({height:"0",opacity:0},100,function(){e.css({overflow:"hidden",visibility:"hidden"})}),e.removeClass("qodef-drop-down--start")}}):t.hoverIntent({interval:0,over:function(){setTimeout(function(){e.addClass("qodef-drop-down--start").stop().css({height:o})},150)},timeout:150,out:function(){e.stop().css({height:"0"}).removeClass("qodef-drop-down--start")}})})})},wideDropdownPosition:function(){var e=a(".qodef-header-navigation > ul > li.qodef-menu-item--wide");e.length&&e.each(function(){var e,o,t=a(this).find(".qodef-drop-down-second");t.length&&(t.css("left",0),e=t.offset().left,qodefCore.body.hasClass("qodef--boxed")?(o=a(".qodef--boxed #qodef-page-wrapper").outerWidth(),e-=(qodefCore.windowWidth-o)/2,t.css({left:-e,width:o})):qodefCore.body.hasClass("qodef-drop-down-second--full-width")?t.css({left:-e,width:qodefCore.windowWidth}):t.css({left:-e+(qodefCore.windowWidth-t.width())/2}))})},dropdownPosition:function(){var e=a(".qodef-header-navigation > ul > li.qodef-menu-item--narrow.menu-item-has-children");e.length&&e.each(function(){var e,o=a(this),t=o.offset().left,i=o.find(".qodef-drop-down-second"),n=i.find(".qodef-drop-down-second-inner ul"),r=n.outerWidth(),d=a(window).width()-t;qodef.body.hasClass("qodef--boxed")&&(d=a(".qodef--boxed #qodef-page-wrapper").outerWidth()-t),0<o.find("li.menu-item-has-children").length&&(e=d-r),i.removeClass("qodef-drop-down--right"),n.removeClass("qodef-drop-down--right"),(d<r||e<r)&&(i.addClass("qodef-drop-down--right"),n.addClass("qodef-drop-down--right"))})}}}(jQuery),function(i){"use strict";i(window).on("load",function(){n.init()});var n={init:function(e){this.$sections=i(".qodef-parallax"),i.extend(this.$sections,e);e=!qodefCore.html.hasClass("touchevents")&&!qodefCore.body.hasClass("qodef-browser--edge")&&!qodefCore.body.hasClass("qodef-browser--ms-explorer");this.$sections.length&&e&&this.$sections.each(function(){n.ready(i(this))})},ready:function(e){e.$imgHolder=e.find(".qodef-parallax-img-holder"),e.$imgWrapper=e.find(".qodef-parallax-img-wrapper"),e.$img=e.find("img.qodef-parallax-img");var o=e.height(),t=e.$imgWrapper.height();e.movement=100*(t-o)/o/2,e.buffer=window.pageYOffset,e.scrollBuffer=null,requestAnimationFrame(function(){e.$imgHolder.animate({opacity:1},100),n.calc(e),n.loop(e)}),i(window).on("resize",function(){n.calc(e)})},calc:function(e){var o=e.$imgWrapper.height(),t=e.$imgWrapper.width();e.$img.width()<t&&e.$img.css({width:"100%",height:"auto"}),e.$img.height()<o&&e.$img.css({height:"100%",width:"auto","max-width":"unset"})},loop:function(e){if(e.scrollBuffer===Math.round(window.pageYOffset))return requestAnimationFrame(function(){n.loop(e)}),!1;e.scrollBuffer=Math.round(window.pageYOffset);var o=window.outerHeight,t=e.offset().top,i=e.height();e.scrollBuffer+1.2*o>t&&e.scrollBuffer<t+i&&(o=((t=(Math.abs(e.scrollBuffer+o-t)/(o+i)).toFixed(4))*e.movement).toFixed(4),e.buffer!==t&&e.$imgWrapper.css("transform","translate3d(0,"+o+"%, 0)"),e.buffer=t),requestAnimationFrame(function(){n.loop(e)})}};qodefCore.qodefParallaxBackground=n}(jQuery),function(r){"use strict";r(document).ready(function(){e.init()});var e={init:function(){function n(e,o){for(var t=0;t<e.length;t++){var i=e[t];t<o?r(i).addClass("active"):r(i).removeClass("active")}}var e=r("#qodef-page-comments-form .qodef-rating-inner");e.each(function(){var e=r(this),o=e.find(".qodef-rating"),t=o.val(),i=e.find(".qodef-star-rating");n(i,t),i.on("click",function(){o.val(r(this).data("value")).trigger("change")}),o.change(function(){t=o.val(),n(i,t)})})}}}(jQuery),function(i){"use strict";i(document).ready(function(){n.init()});var n={init:function(){var e=i("a.qodef-side-area-opener"),o=i("#qodef-side-area-close"),t=i("#qodef-side-area");n.openerHoverColor(e),e.on("click",function(e){e.preventDefault(),qodefCore.body.hasClass("qodef-side-area--opened")?n.closeSideArea():(n.openSideArea(),i(document).keyup(function(e){27===e.keyCode&&n.closeSideArea()}))}),o.on("click",function(e){e.preventDefault(),n.closeSideArea()}),t.length&&"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(t)},openSideArea:function(){var e=i("#qodef-page-wrapper"),o=i(window).scrollTop();i(".qodef-side-area-cover").remove(),e.prepend('<div class="qodef-side-area-cover"/>'),qodefCore.body.removeClass("qodef-side-area-animate--out").addClass("qodef-side-area--opened qodef-side-area-animate--in"),i(".qodef-side-area-cover").on("click",function(e){e.preventDefault(),n.closeSideArea()}),i(window).scroll(function(){400<Math.abs(qodefCore.scroll-o)&&n.closeSideArea()})},closeSideArea:function(){qodefCore.body.removeClass("qodef-side-area--opened qodef-side-area-animate--in").addClass("qodef-side-area-animate--out")},openerHoverColor:function(e){var o,t;void 0!==e.data("hover-color")&&(o=e.data("hover-color"),t=e.css("color"),e.on("mouseenter",function(){e.css("color",o)}).on("mouseleave",function(){e.css("color",t)}))}}}(jQuery),function(n){"use strict";n(document).ready(function(){r.init()}),n(window).on("load",function(){r.windowLoaded=!0,"visible"===document.visibilityState?r.fadeOutLoader():document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&r.fadeOutLoader()})}),n(window).on("elementor/frontend/init",function(){var e=Boolean(elementorFrontend.isEditMode());e&&r.init(e)});var r={holder:"",windowLoaded:!1,init:function(e){this.holder=n("#qodef-page-spinner:not(.qodef--custom-spinner):not(.qodef-layout--textual)"),this.holder.length&&(r.animateSpinner(e),r.fadeOutAnimation())},animateSpinner:function(e){e&&r.fadeOutLoader()},fadeOutLoader:function(o,e,t){var i=r.holder.length?r.holder:n("#qodef-page-spinner:not(.qodef--custom-spinner):not(.qodef-layout--textual)");o=o||600,t=t||"swing",i.delay(e=e||0).fadeOut(o,t),n(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&i.fadeOut(o,t)})},fadeOutAnimation:function(){var t,e;qodefCore.body.hasClass("qodef-spinner--fade-out")&&(t=n("#qodef-page-wrapper"),e=n("a"),window.addEventListener("pageshow",function(e){(e.persisted||void 0!==window.performance&&2===window.performance.navigation.type)&&!t.is(":visible")&&t.show()}),e.on("click",function(e){var o=n(this);1===e.which&&0<=o.attr("href").indexOf(window.location.host)&&!o.hasClass("remove")&&o.parent(".product-remove").length<=0&&o.parents(".woocommerce-product-gallery__image").length<=0&&void 0===o.data("rel")&&void 0===o.attr("rel")&&!o.hasClass("lightbox-active")&&(void 0===o.attr("target")||"_self"===o.attr("target"))&&o.attr("href").split("#")[0]!==window.location.href.split("#")[0]&&(e.preventDefault(),t.fadeOut(600,"easeOutSine",function(){window.location=o.attr("href")}))}))}};qodefCore.qodefSpinner=r}(jQuery),function(d){"use strict";d(window).on("load",function(){a.init()});var a={init:function(){var e,o,t,i,n,r;this.holder=d("#qodef-subscribe-popup-modal"),this.holder.length&&(e=this.holder.find(".qodef-sp-prevent"),o=d(".qodef-sp-close"),t="no",e.length&&(i=this.holder.hasClass("qodef-sp-prevent-cookies"),n=e.find(".qodef-sp-prevent-input"),r=n.data("value"),i?(t=localStorage.getItem("disabledPopup"),sessionStorage.removeItem("disabledPopup")):(t=sessionStorage.getItem("disabledPopup"),localStorage.removeItem("disabledPopup")),e.children().on("click",function(e){"yes"!==r?(r="yes",n.addClass("qodef-sp-prevent-clicked").data("value","yes")):(r="no",n.removeClass("qodef-sp-prevent-clicked").data("value","no")),"yes"===r?(i?localStorage:sessionStorage).setItem("disabledPopup","yes"):(i?localStorage:sessionStorage).setItem("disabledPopup","no")})),"yes"!==t&&(qodefCore.body.hasClass("qodef-sp-opened")?a.handleClassAndScroll("remove"):a.handleClassAndScroll("add"),o.on("click",function(e){e.preventDefault(),a.handleClassAndScroll("remove")}),d(document).keyup(function(e){27===e.keyCode&&a.handleClassAndScroll("remove")})))},handleClassAndScroll:function(e){"remove"===e&&(qodefCore.body.removeClass("qodef-sp-opened"),qodefCore.qodefScroll.enable()),"add"===e&&(qodefCore.body.addClass("qodef-sp-opened"),qodefCore.qodefScroll.disable())}}}(jQuery),function(r){"use strict";r(document).ready(function(){e.init()});var e={init:function(){var e=r(".qodef-wishlist .qodef-m-link");e.length&&e.each(function(){var t=r(this),i=t.html(),n=t.siblings(".qodef-m-response");t.off().on("click",function(e){var o;e.preventDefault(),qodefCore.body.hasClass("logged-in")?"undefined"===(o=t.data("id"))||t.hasClass("qodef--added")||(t.html('<span class="fa fa-spinner fa-spin" aria-hidden="true"></span>'),r.ajax({type:"POST",url:qodefGlobal.vars.restUrl+qodefGlobal.vars.wishlistRestRoute,data:{options:{type:"add",itemID:o}},beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",qodefGlobal.vars.restNonce)},success:function(e){"success"===e.status?(t.addClass("qodef--added"),n.html(e.message).addClass("qodef--show").fadeIn(200),r(document).trigger("hiroshi_core_wishlist_item_is_added",[o,e.data.user_id])):n.html(e.message).addClass("qodef--show").fadeIn(200),setTimeout(function(){t.html(i);var e=t.find(".qodef-m-link-label");e.length&&e.text(e.data("added-title")),n.fadeOut(300).removeClass("qodef--show").empty()},800)}})):r(document.body).trigger("hiroshi_membership_trigger_login_modal")})})}};r(document).on("hiroshi_core_wishlist_item_is_removed",function(e,t){var o=r(".qodef-wishlist .qodef-m-link");o.length&&o.each(function(){var e=r(this),o=e.find(".qodef-m-link-label");e.data("id")===t&&e.hasClass("qodef--added")&&(e.removeClass("qodef--added"),o.length&&o.text(o.data("title")))})})}(jQuery),function(o){"use strict";qodefCore.shortcodes.hiroshi_core_accordion={},o(document).ready(function(){t.init()});var t={init:function(){var e=o(".qodef-accordion");e.length&&e.each(function(){t.initItem(o(this))})},initItem:function(e){e.hasClass("qodef-behavior--accordion")&&t.initAccordion(e),e.hasClass("qodef-behavior--toggle")&&t.initToggle(e),e.addClass("qodef--init")},initAccordion:function(e){e.accordion({animate:"swing",collapsible:!0,active:0,icons:"",heightStyle:"content"})},initToggle:function(e){e.find(".qodef-accordion-title").off().on("mouseenter",function(){o(this).addClass("ui-state-hover")}).on("mouseleave",function(){o(this).removeClass("ui-state-hover")}).on("click",function(e){e.preventDefault(),e.stopImmediatePropagation();e=o(this);e.hasClass("ui-state-active")?(e.removeClass("ui-state-active"),e.next().removeClass("ui-accordion-content-active").slideUp(300)):(e.addClass("ui-state-active"),e.next().addClass("ui-accordion-content-active").slideDown(400))})}};qodefCore.shortcodes.hiroshi_core_accordion.qodefAccordion=t}(jQuery),function(e){"use strict";qodefCore.shortcodes.hiroshi_core_button={},e(document).ready(function(){i.init()});var i={init:function(){this.buttons=e(".qodef-button"),this.buttons.length&&this.buttons.each(function(){i.initItem(e(this))})},initItem:function(e){i.buttonHoverColor(e),i.buttonHoverBorderColor(e)},buttonHoverColor:function(e){var o,t;void 0!==e.data("hover-color")&&(o=e.data("hover-color"),t=e.css("color"),e.on("mouseenter touchstart",function(){i.changeColor(e,"color",o)}),e.on("mouseleave touchend",function(){i.changeColor(e,"color",t)}))},buttonHoverBgColor:function(e){var o,t;void 0!==e.data("hover-background-color")&&(o=e.data("hover-background-color"),t=e.css("background-color"),e.on("mouseenter touchstart",function(){i.changeColor(e,"background-color",o)}),e.on("mouseleave touchend",function(){i.changeColor(e,"background-color",t)}))},buttonHoverBorderColor:function(e){var o,t;void 0!==e.data("hover-border-color")&&(o=e.data("hover-border-color"),t=e.css("borderTopColor"),e.on("mouseenter touchstart",function(){i.changeColor(e,"border-color",o)}),e.on("mouseleave touchend",function(){i.changeColor(e,"border-color",t)}))},changeColor:function(e,o,t){e.css(o,t)}};qodefCore.shortcodes.hiroshi_core_button.qodefButton=i}(jQuery),function(e){"use strict";qodefCore.shortcodes.hiroshi_core_countdown={},e(document).ready(function(){s.init()});var s={init:function(){this.countdowns=e(".qodef-countdown"),this.countdowns.length&&this.countdowns.each(function(){s.initItem(e(this))})},initItem:function(e){var o=e.find(".qodef-m-date"),t=["week","day","hour","minute","second"],e=s.generateOptions(e,t);s.initCountdown(o,e,t)},generateOptions:function(e,o){var t={};t.date=void 0!==e.data("date")?e.data("date"):null;for(var i=0;i<o.length;i++){var n=o[i]+"Label",r=o[i]+"LabelPlural";t[n]=void 0!==e.data(o[i]+"-label")?e.data(o[i]+"-label"):"",t[r]=void 0!==e.data(o[i]+"-label-plural")?e.data(o[i]+"-label-plural"):""}return t},initCountdown:function(i,n,r){var d=new Date(n.date).getTime(),a=setInterval(function(){var e=(new Date).getTime(),e=d-e;this.weeks=Math.floor(e/6048e5),this.days=Math.floor(e%6048e5/864e5),this.hours=Math.floor(e%864e5/36e5),this.minutes=Math.floor(e%36e5/6e4),this.seconds=Math.floor(e%6e4/1e3);for(var o=0;o<r.length;o++){var t=r[o]+"s";s.initiateDate(i,this[t],r[o],n)}e<0&&(clearInterval(a),s.afterClearInterval(i,r,n))},1e3)},initiateDate:function(e,o,t,i){e=e.find(".qodef-"+t+"s");e.find(".qodef-label").html(1===o?i[t+"Label"]:i[t+"LabelPlural"]),o=o<10?"0"+o:o,e.find(".qodef-digit").html(o)},afterClearInterval:function(e,o,t){for(var i=0;i<o.length;i++){var n=e.find(".qodef-"+o[i]+"s");n.find(".qodef-label").html(t[o[i]+"LabelPlural"]),n.find(".qodef-digit").html("00")}}};qodefCore.shortcodes.hiroshi_core_countdown.qodefCountdown=s}(jQuery),function(d){"use strict";qodefCore.shortcodes.hiroshi_core_counter={},d(document).ready(function(){i.init()});var i={init:function(){this.counters=d(".qodef-counter"),this.counters.length&&this.counters.each(function(){i.initItem(d(this))})},initItem:function(e){var o=e.find(".qodef-m-digit"),t=i.generateOptions(e);qodefCore.qodefIsInViewport.check(e,function(){i.counterScript(o,t)},!1)},generateOptions:function(e){var o={};return o.start=void 0!==e.data("start-digit")&&""!==e.data("start-digit")?e.data("start-digit"):0,o.end=void 0!==e.data("end-digit")&&""!==e.data("end-digit")?e.data("end-digit"):null,o.step=void 0!==e.data("step-digit")&&""!==e.data("step-digit")?e.data("step-digit"):1,o.delay=void 0!==e.data("step-delay")&&""!==e.data("step-delay")?parseInt(e.data("step-delay"),10):100,o.txt=void 0!==e.data("digit-label")&&""!==e.data("digit-label")?e.data("digit-label"):"",o},counterScript:function(e,o){var t=d.extend({start:0,end:null,step:1,delay:50,txt:""},o||{}),i=t.start,n=t.end,r=(e.text(i+t.txt),setInterval(function(){null!==n&&n<=i||(i+=t.step,n<=i&&(i=n,clearInterval(r)),e.text(parseFloat(i).toLocaleString()+t.txt))},t.delay))}};qodefCore.shortcodes.hiroshi_core_counter.qodefCounter=i}(jQuery),function(e){"use strict";qodefCore.shortcodes.hiroshi_core_frame_slider={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-frame-slider-holder"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(o){var e=o.find(".qodef-m-swiper"),t=o.find(".qodef-m-items"),i=o.closest(".elementor-section");new Swiper(e,{slidesPerView:1,centeredSlides:!0,spaceBetween:0,autoplay:!0,loop:!0,speed:1200,effect:"fade",fadeEffect:{crossFade:!0},on:{init:function(){setTimeout(function(){t.addClass("qodef-swiper--initialized")},1500)},slideChangeTransitionStart:function(){var e=o.find(".swiper-slide-active").data("background-color");e?(i.css("transition","background-color 1s ease-out"),i.css("background-color",e)):i.css("background-color","transparent")}}})}};qodefCore.shortcodes.hiroshi_core_frame_slider.qodefFrameSlider=o}(jQuery),function(c){"use strict";qodefCore.shortcodes.hiroshi_core_fullscreen_tabs={},c(document).ready(function(){e.init()});var e={init:function(){this.holder=c(".qodef-fullscreen-tabs"),this.holder.length&&this.holder.each(function(){e.initItem(c(this))})},initItem:function(e){var o=e.outerWidth(),t=e.find(".qodef-m-tab"),i=e.find(".qodef-m-content"),n=(e.find(".qodef-e-content-inner"),e.find(".qodef-tab-wrapper")),r=t.outerWidth(),d=e.find(".qodef-m-title-vertical").innerHeight(),a=c("#qodef-page-header"),s=(a.innerHeight(),c("#qodef-page-mobile-header").innerHeight(),1280<qodefCore.windowWidth?"70px":"0px");1024<qodefCore.windowWidth&&e.css("height","66vh"),768<qodefCore.windowWidth?(t.last().addClass("active-tab"),t.last().css("width","calc("+o+"px + 70px - "+r*(t.length-1)+"px)"),n.css("width","calc("+o+"px + 70px - "+r*t.length+"px)"),i.css("width","calc("+o+"px + 70px - "+r*t.length+"px)"),i.css("right",-r+"px"),a.css("width","100%"),t.each(function(){var e=c(this);e.on("click",function(){e.siblings().removeClass("active-tab"),e.siblings().css("width",r),e.addClass("active-tab"),e.css("width","calc("+o+"px + "+s+" - "+r*(t.length-1)+"px)")})})):(i.css("top",d),n.css("height",d),t.each(function(){var o=c(this);o.on("click",function(){var e=o.find(".qodef-m-content");o.siblings().removeClass("active-tab"),o.siblings().css("height",d),o.addClass("active-tab"),o.css("height",e.innerHeight()+d)})}))}};qodefCore.shortcodes.hiroshi_core_fullscreen_tabs.qodefFullscreenTabs=e}(jQuery),function(e){"use strict";qodefCore.shortcodes.hiroshi_core_google_map={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-google-map"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){void 0!==window.qodefGoogleMap&&window.qodefGoogleMap.init(e.find(".qodef-m-map"))}};qodefCore.shortcodes.hiroshi_core_google_map.qodefGoogleMap=o}(jQuery),function(e){"use strict";qodefCore.shortcodes.hiroshi_core_icon={},e(document).ready(function(){n.init()});var n={init:function(){this.icons=e(".qodef-icon-holder"),this.icons.length&&this.icons.each(function(){n.initItem(e(this))})},initItem:function(e){n.iconHoverColor(e),n.iconHoverBgColor(e),n.iconHoverBorderColor(e)},iconHoverColor:function(e){var o,t,i;void 0!==e.data("hover-color")&&(o=e.find("span").length?e.find("span"):e,t=o.css("color"),i=e.data("hover-color"),e.on("mouseenter",function(){n.changeColor(o,"color",i)}),e.on("mouseleave",function(){n.changeColor(o,"color",t)}))},iconHoverBgColor:function(e){var o,t;void 0!==e.data("hover-background-color")&&(o=e.data("hover-background-color"),t=e.css("background-color"),e.on("mouseenter",function(){n.changeColor(e,"background-color",o)}),e.on("mouseleave",function(){n.changeColor(e,"background-color",t)}))},iconHoverBorderColor:function(e){var o,t;void 0!==e.data("hover-border-color")&&(o=e.data("hover-border-color"),t=e.css("borderTopColor"),e.on("mouseenter",function(){n.changeColor(e,"border-color",o)}),e.on("mouseleave",function(){n.changeColor(e,"border-color",t)}))},changeColor:function(e,o,t){e.css(o,t)}};qodefCore.shortcodes.hiroshi_core_icon.qodefIcon=n}(jQuery),function(t){"use strict";qodefCore.shortcodes.hiroshi_core_image_gallery={},t(document).ready(function(){i.init()});var i={init:function(){var e=t(".qodef-image-gallery.qodef-slider-type--image-zoom");e.length&&e.each(function(){i.update(t(this))})},setHeight:function(e){var e=t.makeArray(e.find(".swiper-slide")),o=e.reduce((e,o)=>(e.offsetHeight>=o.offsetHeight?e:o).offsetHeight,0);t(e).each(function(){t(this).height(1.52*o)})},update:function(e){var o=e[0].swiper.params,o=(e[0].swiper.autoplay.stop(),o.slidesPerView="auto",o.breakpoints={0:{slidesPerView:1.5},481:{slidesPerView:1.5},681:{slidesPerView:1.5},769:{slidesPerView:2},1025:{slidesPerView:"auto"},1367:{slidesPerView:"auto"},1441:{slidesPerView:"auto"}},e[0].swiper.destroy(),o.loopedSlides=e.find(".qodef-e").length,o.loopedSlidesslidesPerGroupAuto=!0,new Swiper(o.el,o));1024<qodef.windowWidth&&i.setHeight(e),o.autoplay.stop(),o.update(),o.autoplay.start()}};qodefCore.shortcodes.hiroshi_core_image_gallery.qodefImageGalleryFixHeight=i,qodefCore.shortcodes.hiroshi_core_image_gallery.qodefSwiper=qodef.qodefSwiper,qodefCore.shortcodes.hiroshi_core_image_gallery.qodefMasonryLayout=qodef.qodefMasonryLayout,qodefCore.shortcodes.hiroshi_core_image_gallery.qodefMagnificPopup=qodef.qodefMagnificPopup,qodefCore.shortcodes.hiroshi_core_image_gallery.qodefDragCursor=qodefCore.qodefDragCursor}(jQuery),function(i){"use strict";i(document).ready(function(){e.init()});var e={init:function(){this.holder=i(".qodef-image-hotspots"),this.holder.length&&this.holder.each(function(){var e=i(this),o=e.find(".qodef-e-content"),t=e.offset().left+e.width();o.length&&Array.from(o).map(e=>{e=i(e);e.offset().left+e.width()>t&&(e.css("left","auto").css("right","100%"),qodefCore.windowWidth<=680&&e.find(".qodef-e-title").css("padding","5px 20px 5px 0"))})})}};qodefCore.shortcodes.hiroshi_core_image_hotspots={},qodefCore.shortcodes.hiroshi_core_image_hotspots.qodefImageHotspots=e}(jQuery),function(o){"use strict";qodefCore.shortcodes.hiroshi_core_image_marquee={},o(window).load(function(){t.init()});var t={init:function(){this.holder=o(".qodef-image-marquee.qodef--move-on-scroll"),this.holder.length&&this.holder.each(function(e){t.moveOnScroll(o(this),e)})},moveOnScroll:function(e,o){var t=e.find(".qodef-m-content"),i=t.width()-e.width(),i=Math.min(300,i),o=o%2!=0,i=o?i:-1*i;o&&e.addClass("qodef--marquee-right"),gsap.registerPlugin(ScrollTrigger);const n=gsap.timeline({defaults:{duration:1},scrollTrigger:{trigger:e,scrub:1.5,start:"top bottom",end:"bottom top"}});n.fromTo(t,{x:0,rotate:.001},{x:i})}};qodefCore.shortcodes.hiroshi_core_image_marquee.qodefImageMarquee=t}(jQuery),function(i){"use strict";i(document).ready(function(){t.init()});var t={init:function(){this.holder=i(".qodef-image-with-text.qodef--has-appear"),this.holder.length&&this.holder.each(function(e){var o=i(this);t.appear(e,o)})},appear:function(o,e){var t=gsap.timeline({paused:!0});t.from(e,{"--qodef-clip":"100",duration:1.4,ease:"power3.inOut",delay:()=>{var e=o<4?o%4*.2:o%2*.2;return e}}),qodefCore.qodefIsInViewport.check(i(e),()=>{qodef.qodefWaitForImages.check(i(e),function(){t.play()})})}};qodefCore.shortcodes.hiroshi_core_image_with_text={},qodefCore.shortcodes.hiroshi_core_image_with_text.qodefMagnificPopup=qodef.qodefMagnificPopup,qodefCore.shortcodes.hiroshi_core_image_with_text.qodefImageWithTextAppear=t}(jQuery),function(n){"use strict";n(window).on("load",function(){i.init()});var i={init:function(e){var o=n(".qodef-info-slider .qodef-images");o.length&&o.each(function(){n.extend(o,e),i.createSlider(n(this))})},createSlider:function(e){var o=i.getOptions(e),t=i.getEvents(e,o),e=e.find(".qodef-swiper-container-custom");new Swiper(e,Object.assign(o,t))},getOptions:function(e){var o=void 0!==e.data("options")?e.data("options"):{},o={slidesPerView:1,loop:!0,loopedSlides:void 0!==o.loopedSlides&&""!==o.loopedSlides?o.loopedSlides:6,centeredSlides:!1,speed:800,navigation:{nextEl:e.find(".swiper-button-next"),prevEl:e.find(".swiper-button-prev")},autoplay:{disableOnInteraction:!1}};return Object.assign(o,i.getSliderData(e))},getEvents:function(i,e){return{on:{slideChangeTransitionStart:function(){var e=i.find(".swiper-slide-active"),o=i.parent().find(".qodef-e-info-bottom .qodef-e-item"),t=e.data("swiper-slide-index");o.each(function(){var e=n(this);e.data("index")===t?e.addClass("qodef--active"):e.removeClass("qodef--active")})},init:function(){var e=i.find(".swiper-slide-active"),o=i.parent().find(".qodef-e-info-bottom .qodef-e-item"),t=e.data("swiper-slide-index");o.each(function(){var e=n(this);e.data("index")===t?e.addClass("qodef--active"):e.removeClass("qodef--active")})}}}},getSliderData:function(e){var o,t=e.data(),i={};for(o in t)t.hasOwnProperty(o)&&"options"!==o&&void 0!==t[o]&&""!==t[o]&&(i[o]=t[o]);return i}};qodefCore.shortcodes.hiroshi_core_info_slider={},qodefCore.shortcodes.hiroshi_core_info_slider.qodefSwiper=qodef.qodefSwiper,qodefCore.shortcodes.hiroshi_core_info_slider.qodefInfoSlider=i}(jQuery),function(){"use strict";qodefCore.shortcodes.hiroshi_core_interactive_link_showcase={}}(jQuery),function(e){"use strict";qodefCore.shortcodes.hiroshi_core_progress_bar={},e(document).ready(function(){r.init()});var r={init:function(){this.holder=e(".qodef-progress-bar"),this.holder.length&&this.holder.each(function(){r.initItem(e(this))})},initItem:function(i){var n=i.data("layout");qodefCore.qodefIsInViewport.check(i,function(){i.addClass("qodef--init");var e=i.find(".qodef-m-canvas"),o=r.generateBarData(i,n),t=i.data("number")/100;switch(n){case"circle":r.initCircleBar(e,o,t);break;case"semi-circle":r.initSemiCircleBar(e,o,t);break;case"line":o=r.generateLineData(i,t),r.initLineBar(e,o);break;case"custom":r.initCustomBar(e,o,t)}},!1)},generateBarData:function(e,t){var o=e.data("active-line-width"),i=e.data("active-line-color"),n=e.data("inactive-line-width"),r=e.data("inactive-line-color");return{strokeWidth:o,color:i,trailWidth:n,trailColor:r,easing:"linear",duration:void 0!==e.data("duration")&&""!==e.data("duration")?parseInt(e.data("duration"),10):1600,svgStyle:{width:"100%",height:"100%"},text:{style:{color:e.data("text-color")},autoStyleContainer:!1},from:{color:r},to:{color:i},step:function(e,o){"custom"!==t&&o.setText(Math.round(100*o.value())+"%")}}},generateLineData:function(e,o){var t=e.data("active-line-width"),i=e.data("active-line-color"),n=e.data("inactive-line-width"),r=e.data("inactive-line-color"),d=void 0!==e.data("duration")&&""!==e.data("duration")?parseInt(e.data("duration"),10):1600,a=e.data("text-color");return{percentage:100*o,duration:d,fillBackgroundColor:i,backgroundColor:r,height:t,inactiveHeight:n,followText:e.hasClass("qodef-percentage--floating"),textColor:a}},initCircleBar:function(e,o,t){r.checkBar(e)&&new ProgressBar.Circle(e[0],o).animate(t)},initSemiCircleBar:function(e,o,t){r.checkBar(e)&&new ProgressBar.SemiCircle(e[0],o).animate(t)},initCustomBar:function(e,o,t){r.checkBar(e)&&((e=new ProgressBar.Path(e[0],o)).set(0),e.animate(t))},initLineBar:function(e,o){e.LineProgressbar(o)},checkBar:function(e){return!e.find("svg").length}};qodefCore.shortcodes.hiroshi_core_progress_bar.qodefProgressBar=r}(jQuery),function(d){"use strict";qodefCore.shortcodes.hiroshi_core_tabs={},d(document).ready(function(){e.init()});var e={init:function(){this.holder=d(".qodef-tabs"),this.holder.length&&this.holder.each(function(){e.initItem(d(this))})},initItem:function(e){e.children(".qodef-tabs-content").each(function(e){e+=1;var o=d(this),t=o.attr("id"),o=o.parent().find(".qodef-tabs-navigation li:nth-child("+e+") a"),e=o.attr("href");-1<(t="#"+t).indexOf(e)&&o.attr("href",t)}),e.addClass("qodef--init").tabs()},setHeight(e){var o,t,i=e.find(".qodef-tabs-navigation"),n=e.find(".qodef-tabs-content"),r=0;i.length&&(o=i.outerHeight(!0)),n.length&&n.each(function(){t=d(this).outerHeight(!0),r=r<t?t:r}),e.height(o+r)}};qodefCore.shortcodes.hiroshi_core_tabs.qodefTabs=e}(jQuery),function(){"use strict";qodefCore.shortcodes.hiroshi_core_single_image={},qodefCore.shortcodes.hiroshi_core_single_image.qodefAppear=qodefCore.qodefAppear}(jQuery),function(e){"use strict";qodefCore.shortcodes.hiroshi_core_text_marquee={},e(document).ready(function(){r.init()}),e(window).resize(function(){r.init()});var r={init:function(){this.holder=e(".qodef-text-marquee"),this.holder.length&&this.holder.each(function(){r.prepareContent(e(this)),r.calculateWidthRatio(e(this))})},prepareContent:function(e){var o=e.find(".qodef--copy");e.removeClass("qodef--init"),o.length&&o.remove()},calculateWidthRatio:function(e){for(var o=e.find(".qodef-m-content"),t=o.find(".qodef-m-content-inner"),i=Math.ceil(o.outerWidth()/t.outerWidth()),n=0;n<i;n++)r.duplicateContent(o,t);e.addClass("qodef--init")},duplicateContent:function(e,o){o.clone().appendTo(e).addClass("qodef--copy")}};qodefCore.shortcodes.hiroshi_core_text_marquee.qodefTextMarquee=r}(jQuery),function(){"use strict";qodefCore.shortcodes.hiroshi_core_video_button={},qodefCore.shortcodes.hiroshi_core_video_button.qodefMagnificPopup=qodef.qodefMagnificPopup}(jQuery),function(i){"use strict";i(window).on("load",function(){o.init()});var o={init:function(){var e=i(".widget_hiroshi_core_sticky_sidebar");e.length&&1024<qodefCore.windowWidth&&(e.wrapper=e.parents("#qodef-page-sidebar"),e.offsetM=e.offset().top-e.wrapper.offset().top,e.adj=15,o.callStack(e),i(window).on("resize",function(){1024<qodefCore.windowWidth&&o.callStack(e)}),i(window).on("scroll",function(){1024<qodefCore.windowWidth&&o.infoPosition(e)}))},calc:function(e){var o=i(".qodef-page-content-section"),t=qodefCore.body.hasClass("qodef-header-appearance--none")?0:parseInt(qodefGlobal.vars.headerHeight,10);1024<qodefCore.windowWidth&&o.height()<100&&o.css("height",e.wrapper.height()-o.height()),e.start=o.offset().top,e.end=o.outerHeight(),e.h=e.wrapper.height(),e.w=e.outerWidth(),e.left=e.offset().left,e.top=t+qodefGlobal.vars.adminBarHeight-e.offsetM,e.data("state","top")},infoPosition:function(e){var o;qodefCore.scroll<e.start-e.top&&qodefCore.scroll+e.h&&"top"!==e.data("state")?(gsap.to(e.wrapper,.1,{y:5}),gsap.to(e.wrapper,.3,{y:0,delay:.1}),e.data("state","top"),e.wrapper.css({position:"static"})):qodefCore.scroll>=e.start-e.top&&qodefCore.scroll+e.h+e.adj<=e.start+e.end&&"fixed"!==e.data("state")?(o="top"===e.data("state")?1:-1,e.data("state","fixed"),e.wrapper.css({position:"fixed",top:e.top,left:e.left,width:e.w}),gsap.fromTo(e.wrapper,.2,{y:0},{y:10*o,ease:Power4.easeInOut}),gsap.to(e.wrapper,.2,{y:0,delay:.2})):qodefCore.scroll+e.h+e.adj>e.start+e.end&&"bottom"!==e.data("state")&&(e.data("state","bottom"),e.wrapper.css({position:"absolute",top:e.end-e.h-e.adj,left:"auto",width:e.w}),gsap.fromTo(e.wrapper,.1,{y:0},{y:-5}),gsap.to(e.wrapper,.3,{y:0,delay:.1}))},callStack:function(e){this.calc(e),this.infoPosition(e)}}}(jQuery),function(e){"use strict";var t="hiroshi_core_blog_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o}),qodefCore.shortcodes[t].qodefResizeIframes=qodef.qodefResizeIframes}(jQuery),function(d){"use strict";d(document).ready(function(){o.init()});var o={calcDropdown:function(e){var n,r=e.find(".qodef-header-switch-navigation"),e=r.find(".qodef-drop-down-second").children().children(".sub-menu");e.length&&e.each(function(){var e=d(this),o=e.find(".sub-menu"),t=e.children().children("a"),i=0;n=e.parent().offset().top-r.offset().top,t.each(function(){var e=d(this);400<=e.width()?(e.addClass("qodef-wider"),i=400):i<e.width()&&(i=e.width())}),e.parent().width(),e.css({top:-n,width:i}),e.prepend(`<li class="qodef-menu--back">
<a href="#">
<svg class="qodef-svg--menu-back-arrow" xmlns="http://www.w3.org/2000/svg" width="32" height="11.125" viewBox="0 0 32 11.125">
<path d="M31 3h1v8.125h-1z"/>
<path d="M6 3h26v1H6zM6 3.5V7L3 5.25 0 3.5l3-1.75L6 0v3.5z"/>
</svg>
</a>
</li>`),o.length&&o.each(function(){var e=d(this),o=e.children().children("a"),t=0;n=e.parent().offset().top-r.offset().top,o.each(function(){var e=d(this);400<=e.width()?(e.addClass("qodef-wider"),t=400):t<e.width()&&(t=e.width())}),o=e.parent().width()-t,e.css({top:-n,width:t,transform:"translateX("+o+"px)"}),e.prepend('<li class="qodef-menu--back"><a href="#"></a></li>')})})},dropdownClickToggle:function(e){var o=e.find(".qodef-header-switch-navigation ul li.menu-item-has-children"),e=e.find(".qodef-menu--back");o.each(function(){var o=d(this);d(this).find("> a").on("click tap",function(e){e.preventDefault(),e.stopPropagation(),o.siblings().addClass("qodef-menu-sibling--open"),o.addClass("qodef-menu-item--open")})}),e.each(function(){var e=d(this),o=e.find("a"),t=e.closest(".menu-item-has-children");o.on("click tap",function(e){e.preventDefault(),e.stopPropagation(),t.siblings().removeClass("qodef-menu-sibling--open"),t.removeClass("qodef-menu-item--open")})})},init:function(){var e=d(".qodef-header--switch #qodef-page-header");e.length&&(o.calcDropdown(e),o.dropdownClickToggle(e))}}}(jQuery),function(d){"use strict";d(document).ready(function(){o.init()});var o={calcDropdown:function(e){var n,r=e.find(".qodef-header-vertical-navigation"),e=r.find(".qodef-drop-down-second").children().children(".sub-menu");e.length&&e.each(function(){var e=d(this),o=e.find(".sub-menu"),t=e.children().children("a"),i=0;n=e.parent().offset().top-r.offset().top,t.each(function(){var e=d(this);400<=e.width()?(e.addClass("qodef-wider"),i=400):i<e.width()&&(i=e.width())}),e.parent().width(),e.css({top:-n,width:i}),e.prepend(`<li class="qodef-menu--back">
<a href="#">
<svg class="qodef-svg--menu-back-arrow" xmlns="http://www.w3.org/2000/svg" width="32" height="11.125" viewBox="0 0 32 11.125">
<path d="M31 3h1v8.125h-1z"/>
<path d="M6 3h26v1H6zM6 3.5V7L3 5.25 0 3.5l3-1.75L6 0v3.5z"/>
</svg>
</a>
</li>`),o.length&&o.each(function(){var e=d(this),o=e.children().children("a"),t=0;n=e.parent().offset().top-r.offset().top,o.each(function(){var e=d(this);400<=e.width()?(e.addClass("qodef-wider"),t=400):t<e.width()&&(t=e.width())}),o=e.parent().width()-t,e.css({top:-n,width:t,transform:"translateX("+o+"px)"}),e.prepend('<li class="qodef-menu--back"><a href="#"></a></li>')})})},dropdownClickToggle:function(e){var o=e.find(".qodef-header-vertical-navigation ul li.menu-item-has-children"),e=e.find(".qodef-menu--back");o.each(function(){var o=d(this);d(this).find("> a").on("click tap",function(e){e.preventDefault(),e.stopPropagation(),o.siblings().addClass("qodef-menu-sibling--open"),o.addClass("qodef-menu-item--open")})}),e.each(function(){var e=d(this),o=e.find("a"),t=e.closest(".menu-item-has-children");o.on("click tap",function(e){e.preventDefault(),e.stopPropagation(),t.siblings().removeClass("qodef-menu-sibling--open"),t.removeClass("qodef-menu-item--open")})})},init:function(){var e=d(".qodef-header--vertical #qodef-page-header");e.length&&(o.calcDropdown(e),o.dropdownClickToggle(e))}}}(jQuery),function(t){"use strict";var i={showHideHeader:function(e,o){1024<qodefCore.windowWidth&&(qodefCore.scroll<=0?(qodefCore.body.removeClass("qodef-header--fixed-display"),e.css("padding-top","0"),o.css("margin-top","0")):(qodefCore.body.addClass("qodef-header--fixed-display"),e.css("padding-top",parseInt(qodefGlobal.vars.headerHeight+qodefGlobal.vars.topAreaHeight)+"px"),o.css("margin-top",parseInt(qodefGlobal.vars.topAreaHeight)+"px")))},init:function(){var e,o;qodefCore.body.hasClass("qodef-header--vertical")||(e=t("#qodef-page-outer"),o=t("#qodef-page-header"),i.showHideHeader(e,o),t(window).scroll(function(){i.showHideHeader(e,o)}),t(window).resize(function(){e.css("padding-top","0"),i.showHideHeader(e,o)}))}};qodefCore.fixedHeaderAppearance=i.init}(jQuery),function(i){"use strict";var n={header:"",docYScroll:0,init:function(){var e=n.displayAmount();n.header=i(".qodef-header-sticky"),n.docYScroll=i(document).scrollTop(),n.setVisibility(e),i(window).scroll(function(){n.setVisibility(e)})},displayAmount:function(){return 0!==qodefGlobal.vars.qodefStickyHeaderScrollAmount?parseInt(qodefGlobal.vars.qodefStickyHeaderScrollAmount,10):parseInt(qodefGlobal.vars.headerHeight+qodefGlobal.vars.adminBarHeight,10)},setVisibility:function(e){var o,t=qodefCore.scroll<e;n.header.hasClass("qodef-appearance--up")&&(t=(o=i(document).scrollTop())>n.docYScroll&&e<o||o<e,n.docYScroll=i(document).scrollTop()),n.showHideHeader(t)},showHideHeader:function(e){e?qodefCore.body.removeClass("qodef-header--sticky-display"):qodefCore.body.addClass("qodef-header--sticky-display")}};qodefCore.stickyHeaderAppearance=n.init}(jQuery),function(d){"use strict";d(document).ready(function(){t.init()});var t={init:function(){var e,o=d("#qodef-side-area-mobile-header");o.length&&qodefCore.body.hasClass("qodef-mobile-header--side-area")&&(e=o.find(".qodef-m-navigation"),t.initOpenerTrigger(o,e),t.initNavigationClickToggle(e),"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(o))},initOpenerTrigger:function(o,e){var t=d(".qodef-side-area-mobile-header-opener"),i=o.children(".qodef-m-close");t.length&&e.length&&t.on("tap click",function(e){e.stopPropagation(),e.preventDefault(),o.hasClass("qodef--opened")?o.removeClass("qodef--opened"):o.addClass("qodef--opened")}),i.on("tap click",function(e){e.stopPropagation(),e.preventDefault(),o.hasClass("qodef--opened")&&o.removeClass("qodef--opened")})},initNavigationClickToggle:function(e){var r=e.find("ul li.menu-item-has-children");r.each(function(){var o=d(this),t=o.find(" > .qodef-drop-down-second, > ul"),i=o.find("> .qodef-menu-item-arrow"),n="fast";i.on("click tap",function(e){e.preventDefault(),e.stopPropagation(),t.is(":visible")?(o.removeClass("qodef-menu-item--open"),t.slideUp(n)):(i.parent().parent().children().hasClass("qodef-menu-item--open")&&i.parent().parent().parent().hasClass("qodef-vertical-menu")?(o.parent().parent().children().removeClass("qodef-menu-item--open"),o.parent().parent().children().find(" > .qodef-drop-down-second").slideUp(n)):(o.parents("li").hasClass("qodef-menu-item--open")||(r.removeClass("qodef-menu-item--open"),r.find(" > .qodef-drop-down-second, > ul").slideUp(n)),o.parent().parent().children().hasClass("qodef-menu-item--open")&&(o.parent().parent().children().removeClass("qodef-menu-item--open"),o.parent().parent().children().find(" > .qodef-drop-down-second, > ul").slideUp(n))),o.addClass("qodef-menu-item--open"),t.slideDown("slow"))})})}}}(jQuery),function(i){"use strict";i(document).ready(function(){n.init()});var n={init:function(){var e=i("a.qodef-search-opener"),o=i(".qodef-search-cover-form"),t=o.find(".qodef-m-close");e.length&&o.length&&(e.on("click",function(e){e.preventDefault(),n.openCoversHeader(o)}),t.on("click",function(e){e.preventDefault(),n.closeCoversHeader(o)}))},openCoversHeader:function(e){qodefCore.body.addClass("qodef-covers-search--opened qodef-covers-search--fadein"),qodefCore.body.removeClass("qodef-covers-search--fadeout"),setTimeout(function(){e.find(".qodef-m-form-field").focus()},600)},closeCoversHeader:function(e){qodefCore.body.removeClass("qodef-covers-search--opened qodef-covers-search--fadein"),qodefCore.body.addClass("qodef-covers-search--fadeout"),setTimeout(function(){e.find(".qodef-m-form-field").val(""),e.find(".qodef-m-form-field").blur(),qodefCore.body.removeClass("qodef-covers-search--fadeout")},300)}}}(jQuery),function(i){"use strict";i(document).ready(function(){n.init()});var n={init:function(){var e=i("a.qodef-search-opener"),o=i(".qodef-fullscreen-search-holder"),t=o.find(".qodef-m-close");e.length&&o.length&&(e.on("click",function(e){e.preventDefault(),qodefCore.body.hasClass("qodef-fullscreen-search--opened")?n.closeFullscreen(o):n.openFullscreen(o)}),t.on("click",function(e){e.preventDefault(),n.closeFullscreen(o)}),i(document).keyup(function(e){27===e.keyCode&&qodefCore.body.hasClass("qodef-fullscreen-search--opened")&&n.closeFullscreen(o)}))},openFullscreen:function(e){qodefCore.body.removeClass("qodef-fullscreen-search--fadeout"),qodefCore.body.addClass("qodef-fullscreen-search--opened qodef-fullscreen-search--fadein"),setTimeout(function(){e.find(".qodef-m-form-field").focus()},900),qodefCore.qodefScroll.disable()},closeFullscreen:function(e){qodefCore.body.removeClass("qodef-fullscreen-search--opened qodef-fullscreen-search--fadein"),qodefCore.body.addClass("qodef-fullscreen-search--fadeout"),setTimeout(function(){e.find(".qodef-m-form-field").val(""),e.find(".qodef-m-form-field").blur(),qodefCore.body.removeClass("qodef-fullscreen-search--fadeout")},300),qodefCore.qodefScroll.enable()}}}(jQuery),function(o){"use strict";o(document).ready(function(){t.init()});var t={init:function(){this.search=o("a.qodef-search-opener"),this.search.length&&this.search.each(function(){var e=o(this);t.searchHoverColor(e)})},searchHoverColor:function(e){var o,t;void 0!==e.data("hover-color")&&(o=e.data("hover-color"),t=e.css("color"),e.on("mouseenter",function(){e.css("color",o)}).on("mouseleave",function(){e.css("color",t)}))}}}(jQuery),function(o){"use strict";o(document).ready(function(){r.init()});var r={holder:"",init:function(e){this.holder=o("#qodef-page-spinner.qodef-layout--predefined"),this.holder.length&&r.animateSpinner(this.holder,e)},animateSpinner:function(e){var o=e.find(".qodef-m-spinner-text"),t=e.find(".qodef-m-spinner-image"),i=gsap.timeline({paused:!0,onStart:()=>{gsap.set(e.find(".qodef-m-spinner"),{opacity:1})}}),n=(i.addLabel("start").from(t,{"--qodef-clip":"100",xPercent:-10,stagger:1.2,duration:1.3}).to(t,{xPercent:100,duration:2,ease:"power2.inOut"}).fromTo(o,{autoAlpha:0,x:250},{autoAlpha:1,x:0,duration:1,onComplete:()=>{qodefCore.qodefSpinner.windowLoaded&&(i.pause(),n.play())}},">-1").to(t,{duration:1,repeat:-1,onRepeat:()=>{qodefCore.qodefSpinner.windowLoaded&&(i.pause(),n.play())}}),gsap.timeline({paused:!0,onStart:()=>{qodefCore.shortcodes.hiroshi_core_image_with_text.qodefImageWithTextAppear.init()}}));n.to(r.holder,{autoAlpha:0,duration:1}),qodef.qodefWaitForImages.check(this.holder,function(){i.play()})}}}(jQuery),function(n){"use strict";n(document).ready(function(){r.init()}),n(window).on("load",function(){r.windowLoaded=!0,r.completeAnimation()}),n(window).on("elementor/frontend/init",function(){var e=Boolean(elementorFrontend.isEditMode());e&&r.init(e)});var r={holder:"",windowLoaded:!1,percentNumber:0,init:function(e){this.holder=n("#qodef-page-spinner.qodef-layout--progress-bar"),this.holder.length&&r.animateSpinner(this.holder,e)},animateSpinner:function(e,o){var t=e.find(".qodef-m-spinner-number-label"),i=(e.find(".qodef-m-spinner-line-front").animate({width:"100%"},1e4,"linear"),setInterval(function(){r.animatePercent(t,r.percentNumber),r.windowLoaded&&clearInterval(i)},100));o&&r.fadeOutLoader(e)},completeAnimation:function(){var e=r.holder.length?r.holder:n("#qodef-page-spinner.qodef-layout--progress-bar"),o=setInterval(function(){100<=r.percentNumber?(clearInterval(o),e.find(".qodef-m-spinner-line-front").stop().animate({width:"100%"},500),e.addClass("qodef--finished"),setTimeout(function(){r.fadeOutLoader(e)},600)):r.animatePercent(e.find(".qodef-m-spinner-number-label"),r.percentNumber)},6)},animatePercent:function(e,o){o<100&&(e.text(o+=5),r.percentNumber=o)},fadeOutLoader:function(o,t,e,i){t=t||600,i=i||"swing",o.delay(e=e||0).fadeOut(t,i),n(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(t,i)})}}}(jQuery),function(a){"use strict";a(document).ready(function(){s.init()}),a(window).on("load",function(){s.windowLoaded=!0}),a(window).on("elementor/frontend/init",function(){var e=Boolean(elementorFrontend.isEditMode());e&&s.init(e)});var s={init(e){var o=a("#qodef-page-spinner.qodef-layout--textual");o.length&&(e?s.fadeOutLoader(o):s.splitText(o))},splitText(e){var o,t,i=e.find(".qodef-m-text");i.length&&(o=i.text().trim().split(""),t="",i.empty(),o.forEach(e=>{t=" "===e?"qodef-m-empty-char":" ",i.append('<span class="qodef-m-char '+t+'">'+e+"</span>")}),setTimeout(()=>{s.animateSpinner(e)},100))},animateSpinner(d){d.addClass("qodef--init"),function i(n){var e=d.find(".qodef-m-char"),r=e.length-1;e.length&&e.each((e,o)=>{var t=a(o);setTimeout(()=>{t.animate(n.type,n.duration,n.easing,()=>{e===r&&(1===n.repeat?i({type:{opacity:0},duration:1200,easing:"swing",delay:0,repeat:0}):s.windowLoaded?(s.fadeOutLoader(d,600,0,"swing"),setTimeout(()=>{var e=a(".qodef-after-spinner-rev rs-module");e.length&&e.revstart()},800)):i({type:{opacity:1},duration:1800,easing:"swing",delay:160,repeat:1}))})},e*n.delay)})}({type:{opacity:1},duration:1800,easing:"swing",delay:160,repeat:1})},fadeOutLoader(o,t,e,i){t=t||500,e=e||0,i=i||"swing",o.length&&(o.delay(e).fadeOut(t,i),a(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(t,i)}))}}}(jQuery),function(d){"use strict";d(document).ready(function(){a.init()});var a={init:function(){var e=d(".qodef-wishlist-dropdown");e.length&&e.each(function(){var e=d(this);e.find(".qodef-m-link").on("click",function(e){e.preventDefault()}),a.removeItem(e)})},removeItem:function(n){n.find(".qodef-e-remove").off().on("click",function(e){e.preventDefault();var o=d(this),t=o.html(),i=o.data("id");o.html('<span class="fa fa-spinner fa-spin" aria-hidden="true"></span>'),d.ajax({type:"POST",url:qodefGlobal.vars.restUrl+qodefGlobal.vars.wishlistRestRoute,data:{options:{type:"remove",itemID:i}},beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",qodefGlobal.vars.restNonce)},success:function(e){"success"===e.status?(e=parseInt(e.data.count,10),n.find(".qodef-m-link-count").html(e),0===e&&n.removeClass("qodef-items--has").addClass("qodef-items--no"),o.closest(".qodef-m-item").fadeOut(200).remove(),d(document).trigger("hiroshi_core_wishlist_item_is_removed",[i])):o.html(t)}})})}};d(document).on("hiroshi_core_wishlist_item_is_added",function(e,n,r){var o=d(".qodef-wishlist-dropdown");o.length&&o.each(function(){var o=d(this),t=o.find(".qodef-m-link").find(".qodef-m-link-count"),i=o.find(".qodef-m-items");d.ajax({type:"POST",url:qodefGlobal.vars.restUrl+qodefGlobal.vars.wishlistDropdownRestRoute,data:{options:{itemID:n,userID:r}},beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",qodefGlobal.vars.restNonce)},success:function(e){"success"===e.status&&(t.html(parseInt(e.data.count,10)),o.hasClass("qodef-items--no")&&o.removeClass("qodef-items--no").addClass("qodef-items--has"),i.append(e.data.new_html))},complete:function(){a.init()}})})})}(jQuery),function(d){"use strict";qodefCore.shortcodes.hiroshi_core_instagram_list={},d(document).ready(function(){i.init()});var i={init:function(){this.holder=d(".qodef-instagram-list #sb_instagram"),this.holder.length&&this.holder.each(function(){var e,o,t;d(this).parent().hasClass("qodef-instagram-columns")?(o=(e=d(this).find("#sbi_images")).find(".sbi_item.sbi_type_image, .sbi_item.sbi_type_carousel"),t=e.css("padding"),e.css("padding","0"),e.css("margin","-"+t),e.css("width","calc(100% + "+t+" + "+t+")"),o.attr("style","padding: "+t+"!important")):d(this).parent().hasClass("qodef-instagram-slider")&&i.initSlider(d(this))})},initSlider:function(e,o){var t=e.find("#sbi_images"),i=e.find(".sbi_item.sbi_type_image"),n=t.css("padding"),r=(t.css("padding","0"),i.css("padding","0"),t.attr("style","margin-right: "+2*parseInt(n)+"px !important"),{});r.spaceBetween=2*parseInt(n),r.customStages=!0,r.slidesPerView=void 0!==e.data("cols")&&""!==e.data("cols")?e.data("cols"):3,r.slidesPerView1024=void 0!==e.data("cols")&&""!==e.data("cols")?e.data("cols"):3,r.slidesPerView680=void 0!==e.data("colstablet")&&""!==e.data("colstablet")?e.data("colstablet"):2,r.slidesPerView480=void 0!==e.data("colsmobile")&&""!==e.data("colsmobile")?e.data("colsmobile"):1,e.attr("data-options",JSON.stringify(r)),t.addClass("swiper-wrapper"),i.length&&i.each(function(){d(this).addClass("qodef-e qodef-image-wrapper swiper-slide")}),"object"==typeof qodef.qodefSwiper&&(!1===o?qodef.qodefSwiper.initSlider(e):qodef.qodefSwiper.init(e))}};qodefCore.shortcodes.hiroshi_core_instagram_list.qodefInstagram=i,qodefCore.shortcodes.hiroshi_core_instagram_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(){"use strict";jQuery(document).on("yith_wccl_product_gallery_loaded",function(){"function"==typeof qodefCore.qodefWooMagnificPopup&&qodefCore.qodefWooMagnificPopup.init()})}(),function(o){"use strict";o(document).on("qv_loader_stop qv_variation_gallery_loaded",function(){t.init()});var t={init:function(e){this.holder=[],this.holder.push({holder:o("#yith-quick-view-modal .variations select"),options:{minimumResultsForSearch:1/0}}),o.extend(this.holder,e),"object"==typeof this.holder&&o.each(this.holder,function(e,o){t.createSelect2(o.holder,o.options)})},createSelect2:function(e,o){"function"==typeof e.select2&&e.select2(o)}}}(jQuery),function(){"use strict";qodefCore.shortcodes.hiroshi_core_product_category_list={},qodefCore.shortcodes.hiroshi_core_product_category_list.qodefMasonryLayout=qodef.qodefMasonryLayout,qodefCore.shortcodes.hiroshi_core_product_category_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(e){"use strict";var t="hiroshi_core_product_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o})}(jQuery),function(o){"use strict";o(document).ready(function(){t.init()});var t={init:function(){var e=o(".qodef-widget-dropdown-cart-content");e.length&&e.off().each(function(){var e=o(this);t.trigger(e),qodefCore.body.on("added_to_cart removed_from_cart",function(){t.init()})})},trigger:function(e){e=e.find(".qodef-woo-mini-cart");e.length&&"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(e)}}}(jQuery),function(){"use strict";qodefCore.shortcodes.hiroshi_core_clients_list={},qodefCore.shortcodes.hiroshi_core_clients_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(t){"use strict";qodefCore.shortcodes.hiroshi_core_fullscreen_portfolio_slider={},t(document).ready(function(){f.init()});var f={init:function(e){var o=t(".qodef-fullscreen-portfolio-slider .qodef-custom-swiper");t.extend(o,e),o.length&&o.each(function(){f.createSlider(t(this))})},createSlider:function(e){var o=f.getOptions(e),t=f.getEvents(e,o);new Swiper(e,Object.assign(o,t))},getOptions:function(e){var o=void 0!==e.data("options")?e.data("options"):{},t=void 0!==o.spaceBetween&&""!==o.spaceBetween?o.spaceBetween:0,i=void 0!==o.slidesPerView&&""!==o.slidesPerView?o.slidesPerView:1,n=void 0===o.loop||""===o.loop||o.loop,r=void 0===o.autoplay||""===o.autoplay||o.autoplay,d=e.find(".swiper-pagination"),a=e.find(".swiper-slide"),s=e.parent().hasClass("qodef-item-layout--image-zoom")?1e3:800,o=o.mousewheel,c=e.closest(".qodef-item-layout--image-zoom").length,i={slidesPerView:i,spaceBetween:t,autoplay:r=!1!==r?{disableOnInteraction:!1,delay:3500,waitForTransition:!1}:r,loop:n,speed:s,loopedSlides:a.length,mousewheel:o,pagination:{el:d,type:"bullets",clickable:!0,renderBullet:function(e,o){return'<span class="qodef-custom-slider-bullet '+o+'"></span>'}},isZoomedSlider:!!c};return Object.assign(i,f.getSliderData(e))},getSliderData:function(e){var o,t=e.data(),i={};for(o in t)t.hasOwnProperty(o)&&"options"!==o&&void 0!==t[o]&&""!==t[o]&&(i[o]=t[o]);return i},getEvents:function(e,o){return{on:{init:function(){this.params.isZoomedSlider&&setTimeout(()=>{this.autoplay.stop(),this.updateSize(),this.autoplay.start()},10)}}}}};qodefCore.shortcodes.hiroshi_core_fullscreen_portfolio_slider.qodefSwiper=qodef.qodefSwiper,qodefCore.shortcodes.hiroshi_core_fullscreen_portfolio_slider.qodefFullscreenPortfolioSlider=f}(jQuery),function(e){"use strict";var t="hiroshi_core_portfolio_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o}),qodefCore.shortcodes[t].qodefAppear=qodefCore.qodefAppear}(jQuery),function(n){"use strict";qodefCore.shortcodes.hiroshi_core_portfolio_slider={},n(document).ready(function(){p.init()});var p={init:function(e){var o=n(".qodef-portfolio-slider");n.extend(o,e),o.length&&o.each(function(){p.createSlider(n(this)),o.hasClass("qodef-item-layout--double-image")&&p.setInfoPosition(n(this))})},createSlider:function(e){var o=e.find(".qodef-custom-swiper"),t=p.getOptions(o),e=p.getEvents(e,t);new Swiper(o,Object.assign(t,e))},getOptions:function(e){var o=void 0!==e.data("options")?e.data("options"):{},t=void 0!==o.spaceBetween&&""!==o.spaceBetween?o.spaceBetween:0,i=void 0!==o.slidesPerView&&""!==o.slidesPerView?o.slidesPerView:1,n=void 0===o.loop||""===o.loop||o.loop,r=void 0===o.autoplay||""===o.autoplay||o.autoplay,d=void 0!==o.slideAnimation&&""!==o.slideAnimation?o.slideAnimation:"",a=(void 0!==o.speed&&""!==o.speed&&parseInt(o.speed,10),e.closest(".qodef-item-layout--double-image").length?100:1200),s=e.find(".swiper-button-next"),c=e.find(".swiper-button-prev"),f=e.find(".swiper-pagination"),l=!0,o=void 0!==o.loopAdditionalSlides&&""!==o.loopAdditionalSlides?parseInt(o.loopAdditionalSlides):0,u=null,h=!!e.closest(".qodef-item-layout--image-zoom ").length,t=("auto"===i&&(o=u=e.find(".swiper-slide").length,l=!1),{slidesPerView:i,spaceBetween:t,autoplay:r=!1!==r?{disableOnInteraction:!1}:r,loop:n,loopAdditionalSlides:o,loopedSlidesLimit:l,loopedSlides:u,slidesPerGroupAuto:!0,speed:a,centeredSlides:!1,navigation:{nextEl:s,prevEl:c},breakpoints:{320:{slidesPerView:i}},pagination:{el:f,type:"fraction",formatFractionCurrent:function(e){return(""+e).slice(-2)},formatFractionTotal:function(e){return(""+e).slice(-2)},renderFraction:function(e,o){return'<span class="'+e+'"></span>/<span class="'+o+'"></span>'},clickable:!0},isZoomedSlider:h});return d.length&&"fade"===d&&(t.effect="fade",t.fadeEffect={crossFade:!0}),Object.assign(t,p.getSliderData(e))},getEvents:function(i,e){return{on:{init:function(){var e=i.find(".swiper-slide-active"),o=i.parent().find(".qodef-e-info-bottom article"),t=e.data("swiper-slide-index");o.each(function(){var e=n(this);e.data("index")===t?e.addClass("qodef--active"):e.removeClass("qodef--active")}),setTimeout(()=>{this.autoplay.stop(),this.updateSize(),this.autoplay.start()},10)},slidePrevTransitionStart:function(){i.addClass("qodef--backwards")},slideNextTransitionStart:function(){i.removeClass("qodef--backwards")},slideChangeTransitionStart:function(){var e=i.find(".swiper-slide-active"),o=i.parent().find(".qodef-e-info-bottom article"),t=e.data("swiper-slide-index");o.each(function(){var e=n(this);e.data("index")===t?e.addClass("qodef--active"):e.removeClass("qodef--active")})},slideChangeTransitionEnd:function(){this.params.isZoomedSlider&&1024<qodef.windowWidth&&(this.loopedSlides-1===this.realIndex?(this.allowSlideNext=!1,i.addClass("qodef--slide-next-prevented")):(this.allowSlideNext=!0,i.removeClass("qodef--slide-next-prevented")),0===this.realIndex?(this.allowSlidePrev=!1,i.addClass("qodef--slide-prev-prevented")):(this.allowSlidePrev=!0,i.removeClass("qodef--slide-prev-prevented")))}}}},getSliderData:function(e){var o,t=e.data(),i={};for(o in t)t.hasOwnProperty(o)&&"options"!==o&&void 0!==t[o]&&""!==t[o]&&(i[o]=t[o]);return i},setInfoPosition:function(e){var o=e.find(".qodef-e-info-bottom article"),e=e.find(".qodef-e-media-image-secondary");e&&(e=n.makeArray(e).reduce((e,o)=>(e.offsetHeight>=o.offsetHeight?e:o).offsetHeight,0),o.css("bottom",e+115))}};qodefCore.shortcodes.hiroshi_core_portfolio_slider.qodefSwiper=qodef.qodefSwiper,qodefCore.shortcodes.hiroshi_core_portfolio_slider.qodefPortfolioSlider=p}(jQuery),function(o){"use strict";qodefCore.shortcodes.hiroshi_core_tabbed_portfolio={},o(document).ready(function(){t.init()});var t={init:function(){var e=o(".qodef-tabbed-portfolio .qodef-e-items-wrapper");e.length&&e.each(function(){t.initAccordion(o(this))})},initAccordion:function(o){o.accordion({animate:800,collapsible:!0,active:0,icons:"",heightStyle:"content",create:function(){o.addClass("qodef--init")}});o.accordion({beforeActivate:function(e,o){qodef.qodefWaitForImages.check(o.newPanel,()=>{o.newPanel.addClass("qodef--image-loaded")})}}),o.find("a").on("click",function(e){o.accordion("disable"),e.target.click()}),o.on("click",function(e){o.accordion("enable")})}};qodefCore.shortcodes.hiroshi_core_tabbed_portfolio.qodefTabbedPortfolio=t}(jQuery),function(e){"use strict";var t="hiroshi_core_team_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o}),qodefCore.shortcodes[t].qodefAppear=qodefCore.qodefAppear}(jQuery),function(){"use strict";qodefCore.shortcodes.hiroshi_core_testimonials_list={},qodefCore.shortcodes.hiroshi_core_testimonials_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(n){"use strict";n(document).ready(function(){e.init()});var e={init:function(){this.holder=n(".qodef-interactive-link-showcase.qodef-layout--list"),this.holder.length&&this.holder.each(function(){e.initItem(n(this))})},initItem:function(e){var t=e.find(".qodef-m-image"),i=e.find(".qodef-m-item");t.eq(0).addClass("qodef--active qodef--prev"),i.eq(0).addClass("qodef--active"),i.on("touchstart mouseenter",function(e){var o=n(this);qodefCore.html.hasClass("touchevents")&&o.hasClass("qodef--active")||(e.preventDefault(),t.removeClass("qodef--active").eq(o.index()).addClass("qodef--active"),i.removeClass("qodef--active").eq(o.index()).addClass("qodef--active"))}).on("touchend mouseleave",function(){var e=n(this);qodefCore.html.hasClass("touchevents")&&e.hasClass("qodef--active")||(i.removeClass("qodef--active").eq(e.index()).addClass("qodef--active"),t.removeClass("qodef--active").eq(e.index()).addClass("qodef--active"),t.removeClass("qodef--prev"),t.eq(e.index()).addClass("qodef--prev"))}),e.addClass("qodef--init")}};qodefCore.shortcodes.hiroshi_core_interactive_link_showcase.qodefInteractiveLinkShowcaseList=e}(jQuery),function(r){"use strict";r(document).ready(function(){e.init()});var e={init:function(){this.holder=r(".qodef-interactive-link-showcase.qodef-layout--slider"),this.holder.length&&this.holder.each(function(){e.initItem(r(this))})},initItem:function(i){var t=i.find(".qodef-m-image"),n=new Swiper(i.find(".swiper-container"),{loop:!0,slidesPerView:"auto",centeredSlides:!0,speed:1400,mousewheel:!0,init:!1});qodef.qodefWaitForImages.check(i,function(){n.init()}),n.on("init",function(){t.eq(0).addClass("qodef--active"),i.find(".swiper-slide-active").addClass("qodef--active"),n.on("slideChangeTransitionStart",function(){var e=i.find(".swiper-slide"),o=i.find(".swiper-slide-active");t.removeClass("qodef--active").eq(o.data("swiper-slide-index")).addClass("qodef--active"),e.removeClass("qodef--active"),o.addClass("qodef--active")}),i.find(".swiper-slide").on("click",function(e){var o=r(this),t=i.find(".swiper-slide-active");if(!o.hasClass("swiper-slide-active"))return e.preventDefault(),e.stopImmediatePropagation(),e.pageX<t.offset().left?(n.slidePrev(),!1):e.pageX>t.offset().left+t.outerWidth()?(n.slideNext(),!1):void 0}),i.addClass("qodef--init")})}};qodefCore.shortcodes.hiroshi_core_interactive_link_showcase.qodefInteractiveLinkShowcaseSlider=e}(jQuery),function(t){"use strict";t(document).ready(function(){o.init()});var o={init:function(){var e=t(".qodef-fullscreen-portfolio-slider.qodef-item-layout--image-zoom");e.length&&e.each(function(){768<qodef.windowWidth&&o.setHeight(t(this)),o.setCustomCursor(t(this))})},setHeight:function(e){var e=t.makeArray(e.find(".swiper-slide")),o=e.reduce((e,o)=>(e.offsetHeight>=o.offsetHeight?e:o).offsetHeight,0);t(e).each(function(){t(this).height(2.29*o)})},setCustomCursor:function(e){var n,o;e.find(".qodef-custom-cursor")&&(o=e.find(".qodef-custom-cursor-holder-wrapper"),e.append(o.html()),o.remove(),n=t(".qodef-custom-cursor"),t(".qodef-custom-cursor-holder"),o=e.find(".qodef-e-content-inner"),e.on("mousemove",function(e){var o=e.clientX,e=e.clientY,t=n.height()/2,i=n.width()/2;n.css({top:e-t,left:o-i})}).on("mouseleave",function(e){n.css({visibility:"hidden",opacity:0})}).on("mouseenter",function(e){n.css({visibility:"visible",opacity:1})}),o.on("mouseenter",function(e){n.css({visibility:"hidden",opacity:0})}).on("mouseleave",function(e){n.css({visibility:"visible",opacity:1})}))}};qodefCore.shortcodes.hiroshi_core_fullscreen_portfolio_slider.qodefPortfolioSliderFixHeight=o}(jQuery),function(d){"use strict";d(document).ready(function(){o.init()});var o={init:function(){var e=d(".qodef-portfolio-slider.qodef-item-layout--image-zoom");e.length&&e.each(function(){o.setHeight(d(this))})},setHeight:function(e){var o=d.makeArray(e.find(".swiper-slide")),t=d.makeArray(e.find("article")),i=o.map(e=>e.offsetHeight).reduce((e,o)=>o<=e?e:o),t=t.map(e=>e.offsetHeight).reduce((e,o)=>o<=e?e:o),n=1.43*i,r=2.34*i;d(o).each(function(){1024<qodef.windowWidth&&(e.hasClass("qodef-slides-number--3")?d(this).height(48+n):d(this).height(r))}),e.find(".qodef-info").height(t),e.hasClass("qodef-slides-number--3")?n/5<t&&e.height(t-n/5+n):r/2<t&&e.height(t-r/2+r)}};qodefCore.shortcodes.hiroshi_core_portfolio_slider.qodefPortfolioSliderFixHeight=o}(jQuery),function(e){"use strict";e(document).ready(function(){o.init()});var o={init:function(){this.list=e(".qodef-team-list.qodef-item-layout--info-right"),this.list.length&&this.list.each(function(){o.initLink(e(this))})},initLink:function(e){var o=e.find(".qodef-e-additional-link");o.length&&o.height(e.find(".qodef-grid-item:first-child").outerHeight())}};qodefCore.shortcodes.hiroshi_core_team_list.qodefTeamAdditionalLink=o}(jQuery),function(r){"use strict";r(document).ready(function(){e.init()}),r(document).on("hiroshi_trigger_get_new_posts",function(){e.init()});var e={init:function(){var t,i,n,e=r(".qodef-hover-animation--follow");e.length&&(qodefCore.body.append('<div class="qodef-e-content-follow"><div class="qodef-e-top-holder"></div><div class="qodef-e-text"></div></div>'),t=r(".qodef-e-content-follow"),i=t.find(".qodef-e-top-holder"),n=t.find(".qodef-e-text"),e.each(function(){e.find(".qodef-e-inner").each(function(){var e=r(this);e.on("mousemove",function(e){e.clientX+20+t.width()>qodefCore.windowWidth?t.addClass("qodef-right"):t.removeClass("qodef-right"),t.css({top:e.clientY+20,left:e.clientX+20})}),e.on("mouseenter",function(){var e=r(this).find(".qodef-e-top-holder"),o=r(this).find(".qodef-e-text");e.length&&i.html(e.html()),o.length&&n.html(o.html()),t.hasClass("qodef-is-active")||t.addClass("qodef-is-active")}).on("mouseleave",function(){t.hasClass("qodef-is-active")&&t.removeClass("qodef-is-active")})})}))}};qodefCore.shortcodes.hiroshi_core_portfolio_list.qodefInfoFollow=e}(jQuery);